package com.gitee.wsl.ext.number


/**
 * Half of this value.
 */
inline val Int.half: Int
    get() = this / 2

/**
 * Half of this value.
 */
inline val Long.half: Long
    get() = this / 2

/**
 * Half of this value.
 */
inline val Float.half: Float
    get() = this / 2

/**
 * Half of this value.
 */
inline val Double.half: Double
    get() = this / 2
